Fluent Assertions Documentation
FluentAssertions Assembly / FluentAssertions.Numeric Namespace / ComparableTypeAssertions<T,TAssertions> Class / BeInRange Method
The minimum valid value of the range.
The maximum valid value of the range.
A formatted phrase as is supported by System.String.Format(System.String,System.Object[]) explaining why the assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
Zero or more objects to format using the placeholders in because.
In This Topic
    BeInRange Method (ComparableTypeAssertions<T,TAssertions>)
    In This Topic
    Asserts that a value is within a range.
    Syntax

    Parameters

    minimumValue
    The minimum valid value of the range.
    maximumValue
    The maximum valid value of the range.
    because
    A formatted phrase as is supported by System.String.Format(System.String,System.Object[]) explaining why the assertion is needed. If the phrase does not start with the word because, it is prepended automatically.
    becauseArgs
    Zero or more objects to format using the placeholders in because.
    Exceptions
    ExceptionDescription
    because
    Permissions
    PermissionDescription
    because
    Remarks
    Where the range is continuous or incremental depends on the actual type of the value.
    Example
    because
    Supported Frameworks
    because
    See Also